﻿@model IEnumerable<TCM.CalendarBase>
@{
    ViewBag.Title = "Calendar1";
   
}
<script src="@Url.Content("~/Scripts/DayPilot/common.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/DayPilot/calendar.js")" type="text/javascript"></script>

<h2>Calendar</h2>

@Html.DayPilotCalendar("dpc", new DayPilotCalendarConfig
{
    BackendUrl = Url.Content("~/Calendar/Backend"),
    ViewType = DayPilot.Web.Mvc.Enums.Calendar.ViewType.Week,
    
})